package phoenix.mob_android.locators.wildbuddies;

import org.openqa.selenium.By;

import phoenix.mob_android.locators.base.PaymentPageLocatorsBase;

public class PaymentPageLocators extends PaymentPageLocatorsBase
{
	/**
	 * Ovverides specific locators for Wildbuddies
	 */
	public PaymentPageLocators()
	{
		blockPageLoading = By.id("com.wbdating:id/payment_progress_bar");
		blockMembership6mo = By.xpath("(//*[@class='android.widget.ListView']/*[@class='android.view.View'])[4]");

		blockMembership3day = By
				.xpath("(//*[@class='android.widget.ListView']/*[@class='android.view.View'])[1]");
		blockMembership1mo = By.xpath("(//*[@class='android.widget.ListView']/*[@class='android.view.View'])[2]");
		blockMembership3mo = By.xpath("(//*[@class='android.widget.ListView']/*[@class='android.view.View'])[3]");
		blockPaymentPage = By.xpath("//*[@class='android.webkit.WebView']");
		inputFieldCardNumber = By.xpath("(//*[@class='android.webkit.WebView']/*[@class='android.view.View']/*[@class='android.view.View'])[5]");
		inputFieldCardName = By.xpath("(//*[@class='android.webkit.WebView']/*[@class='android.view.View']/*[@class='android.view.View'])[8]");
		selectElements = By.xpath("//*[@class='android.widget.ListView']/*[@class='android.widget.TextView']");
		selectExpiryDate = By.xpath("(//*[@class='android.webkit.WebView']/*[@class='android.view.View']/*[@class='android.view.View'])[10]");
		selectExpiryYear = By.xpath("(//*[@class='android.webkit.WebView']/*[@class='android.view.View']/*[@class='android.view.View'])[11]");
		inputFieldSecurityNumber = By.xpath("(//*[@class='android.webkit.WebView']/*[@class='android.view.View']/*[@class='android.view.View'])[13]");
		btnSubmit = By
				.xpath("((//*[@class='android.webkit.WebView']/*[@class='android.view.View']/*[@class='android.view.View'])[15])/*[@class='android.widget.Button']");
	}
}
